import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './pages/App';
import * as serviceWorker from './serviceWorker';
import 'lib-flexible'

import moment from 'moment'
import axios from './plugs/axios'
import md5 from 'js-md5'

React.Component.prototype.$moment = moment
React.Component.prototype.$http = axios
React.Component.prototype.$md5 = md5

ReactDOM.render(<App />, document.getElementById('root'));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();
